home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Camelot / Camelot 064 (1990-02)(Swedish User Group of Amiga)(SE)(PD)[WB].zip / Camelot 064 (1990-02)(Swedish User Group of Amiga)(SE)(PD)[WB].adf / cclib / include / heapmem.h < prev    next >
C/C++ Source or Header  |  1990-02-14  |  286b  |  25 lines

  1. #ifndef HEAPMEM_H
  2. #define HEAPMEM_H 1
  3.  
  4. typedef long ALIGN;   /* forces long word alignment */
  5.  
  6. union header
  7. {
  8. struct
  9.    {
  10.    union header *ptr;
  11.    unsigned long size;
  12.    } s;
  13. ALIGN x;
  14. };
  15.  
  16. typedef union header HEADER;
  17.  
  18. typedef struct
  19. {
  20. void *ptr;
  21. unsigned long size;
  22. } LastFree;
  23.  
  24. #endif
  25.